#include "Config.h"
#include "Common/TimeUtil.h"
#include "Common/MemStream.h"
#include "Common/Stream.h"
#include "Common/BinaryReader.h"
#include "DBWorker.h"
#include "Common/Base64.h"
#include "DB/DBExecutor.h"
#include "DB/DBExecHelper.h"
#include "DBDataExecHelper.h"
#include "../Server.h"
#include "../GameConfig.h"
#include "../AccountData.h"
#include "DBMsgHandler.h"
#include "MsgHandler/MsgHandler.h"
#include "DBInnerMsgHandler.h"


MSG_HANDLER_DECLARE(DBMsgHandler)

MSG_REG_2( MsgHdr, 0x150, OnIOSDBPlayerRegisteReq );
MSG_REG_2( MsgHdr, 0x151, OnIOSDBPlayerLoginReq );

MSG_REG_2( MsgHdr, 0x220, OnStatisticsReq );

MSG_REG_2( MsgHdr, 0x420, OnDBQueryRechargeReq );

MSG_REG_2( MsgHdr, 0x430, OnDBSaveServerDataReq );

MSG_HANDLER_END()